<!DOCTYPE html>
<html xmlns:th="http://www.thymeleaf.org"
      xmlns:layout="http://www.ultraq.net.nz/web/thymeleaf/layout">
<head>
    <!-- META SECTION -->
    <title>登陆</title>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <meta http-equiv="X-UA-Compatible" content="IE=edge" />
    <meta name="viewport" content="width=device-width, initial-scale=1" />

    <link rel="icon"  th:href="@{/favicon.ico}" type="image/x-icon" />
    <!-- END META SECTION -->

    <!-- CSS INCLUDE -->
    <link rel="stylesheet" type="text/css" id="theme"  th:href="@{/css/theme-default.css}"/>
    <!-- EOF CSS INCLUDE -->
    <style>
        html, body{
            height: 100%;
        }
    </style>
</head>
<body>

<div class="login-container">

    <div class="login-box animated fadeInDown">
        <h3 class="widget-title text-info" style="text-align: center;">晓客</h3>

        <div class="login-body">
            <div class="login-title"><strong>Welcome</strong>, Please login</div>
            <form class="form-horizontal" method="post" id="userForm" action="">
                <div class="form-group">
                    <div class="col-md-12">
                        <input name="username" type="text" class="form-control" placeholder="手机号"/>
                    </div>
                </div>
                <div class="form-group">
                    <div class="col-md-12">
                        <input name="password" type="password" class="form-control" placeholder="密码"/>
                    </div>
                </div>
                <div class="form-group">
                    <div class="col-md-8">
                        <input name="captcha" type="text" class="form-control" placeholder="验证码"/>
                    </div>
                    <div class="col-md-4">
                        <img alt="验证码" onclick="this.src='/defaultKaptcha?d='+new Date()*1" src="defaultKaptcha"/>
                    </div>
                </div>
                <div class="form-group">
                    <div class="col-md-6">
                        <button class="btn btn-info btn-block" id="userLogin">Log In</button>
                    </div>
                </div>
            </form>
            <h5 th:text="${error}" style="color: red;"></h5>
        </div>
    </div>

</div>
<!-- END MESSAGE BOX-->

<!-- START PRELOADS -->
<audio id="audio-alert"  th:src="@{/audio/alert.mp3}" preload="auto"></audio>
<audio id="audio-fail"  th:src="@{/audio/fail.mp3}" preload="auto"></audio>
<!-- END PRELOADS -->

<!-- START SCRIPTS -->
<!-- START PLUGINS -->
<script type="text/javascript"  th:src="@{/js/plugins/jquery/jquery.min.js}"></script>
<script type="text/javascript"  th:src="@{/js/plugins/jquery/jquery-ui.min.js}"></script>
<script type="text/javascript"  th:src="@{/js/plugins/bootstrap/bootstrap.min.js}"></script>


<!-- THIS PAGE PLUGINS -->
<script type='text/javascript' th:src="@{/js/plugins/icheck/icheck.min.js}"></script>
<script type="text/javascript" th:src="@{/js/plugins/mcustomscrollbar/jquery.mCustomScrollbar.min.js}"></script>
<script type="text/javascript" th:src="@{/js/plugins/bootstrap/bootstrap-datepicker.js}"></script>
<script type="text/javascript" th:src="@{/js/plugins/bootstrap/bootstrap-file-input.js}"></script>
<script type="text/javascript" th:src="@{/js/plugins/dropzone/dropzone.min.js}"></script>
<script type="text/javascript" th:src="@{/js/plugins/fileinput/fileinput.min.js}"></script>
<script type="text/javascript" th:src="@{/js/plugins/bootstrap/bootstrap-select.js}"></script>
<script type="text/javascript" th:src="@{/js/plugins/tagsinput/jquery.tagsinput.min.js}"></script>
<script type="text/javascript" th:src="@{/js/plugins/datatables/jquery.dataTables.min.js}"></script>
<script type="text/javascript" th:src="@{/js/plugins/jqGrid/jquery.jqGrid.min.js}"></script>
<script type="text/javascript" th:src="@{/js/plugins/jqGrid/i18n/grid.locale-cn.js}"></script>
<script type="text/javascript" th:src="@{/js/plugins/loading/jquery.showLoading.min.js}"></script>
<!-- END PLUGINS -->

<!-- THIS PAGE PLUGINS -->

<!-- END PAGE PLUGINS -->

<!-- START TEMPLATE -->
<script type="text/javascript"  th:src="@{/js/plugins.js}"></script>
<script type="text/javascript"  th:src="@{/js/actions.js}"></script>
<!-- END TEMPLATE -->
<!-- END SCRIPTS -->
</body>
</html>






